<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link type="text/css" rel="stylesheet" href="../css/layui.css">
		<script type="text/javascript" src="../layui.js"></script>
	</head>
	<body>
		<div id="nav">
			
		</div>
		<div class="layui-btn-group">
					 <button type="button" class="layui-btn layui-btn-sm">
						 <i class="layui-icon">&#xe640;</i></button>
				     <button type="button" class="layui-btn layui-btn-sm"> 
						 <i class="layui-icon">&#xe641;</i></button>
					 <button type="button" class="layui-btn layui-btn-sm">
						 <i class="layui-icon">&#xe654;</i></button>
					<button type="button" class="layui-btn layui-btn-sm">
						 <i class="layui-icon">&#xe642;</i></button>
		</div>
		<table class="layui-table" lay-size="lg">
			<colgroup>
				<col width="150" />
				<col width="200" />
				<col width="220" />
				<col width="240" />
				<col width="280" />
			</colgroup>
			<thead>
				<tr>       
					<th>人物</th> 
					<th>民族</th> 
					<th>性别</th>       
					<th>格言</th>
					<th>操作</th>
				</tr>    
			</thead>   
			<tbody>     
				<tr>       
					<td>123</td> 
					<td>汉</td>
					<td>男</td>       
					<td>人生似修行</td>
					 <td>
					 <button class="layui-btn layui-btn-xs">
					 <i class="layui-icon layui-icon-edit">编辑</i>
					 </button>
					 <button class="layui-btn layui-btn-xs">
					 <i class="layui-icon layui-icon-delete">删除</i>
					 </button>
					 </td>
				</tr>
				<tr>
					<td>456</td> 
					<td>汉</td>
					<td>男</td>       
					<td>人生</td>
					 <td>
					 <button class="layui-btn layui-btn-xs">
					 <i class="layui-icon layui-icon-edit">编辑</i>
					 </button>
					 <button class="layui-btn layui-btn-xs">
					 <i class="layui-icon layui-icon-delete">删除</i>
					 </button>
					 </td>
				</tr>
			</tbody>
		</table>
		 
		<script>
			layui.use(['layer','element'],function(){
				var layer = layui.layer,
				element = layui.element,
				$ = layui.$; 
				$("#nav").load("nav.html");
				element.on('tab(selectTab)',function(data){
				layer.msg("你切换到了"+this.innerHTML+"窗口");
				});
			});
		</script>
	</body>
</html>
